package com.interview.javabase.execption;

import java.util.HashMap;
import java.util.Map;

/**
 * @description:
 * @author: zhangshuguang@vichain.com
 * @date: 2019/06/14 13:35
 */
public class Demo1 {
    public static void main(String[] args) {
        System.out.println(test1());
    }

    public static int test1(){
        int a = 10;
        try {
            return a;
        }catch (Exception e){
            a = 20;
        } finally {
            System.out.println("finally");
            a = 30;
//            return a;
        }
        return a;
    }
}
